﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace MyLab.WhereAreYou.Controllers
{
    public class TestController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult ModelBinder(MyUser user)
        {
            return View(user);
        }

        public class MyUser : MyLab.Interfaces.Models.IUser
        {

            public string Name
            {
                get;
                set;
            }

            public int Age
            {
                get;
                set;
            }
        }
    }
}
